package com.akajack.domain.util.customize.print;

public class MatrixResult {
    public void PrintIntMatrixResult(int[][] res){
        for (int[] re : res) {
            System.out.println("[");
            for (int j = 0; j < res[0].length; j++) {
                System.out.print(" "+re[j]+" ");
            }
            System.out.println("]");
        }
    }

    public void PrintCharMatrixResult(char[][] res){
        for (char[] re : res) {
            System.out.print("[");
            for (int j = 0; j < res[0].length; j++) {
                System.out.print(" "+re[j]+" ");
            }
            System.out.println("]");
        }
    }
}
